package com.gfhd.feign;

import com.gfhd.feign.resttemplate.RestTemplateDemo1;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class MyRun2 {
    @Resource
    private RestTemplateDemo1 demo1;
    public void run1(){
        //RestTemplateDemo1 threadDemo = new RestTemplateDemo1();
        demo1.test();
        System.out.println(System.getProperty("user.dir"));
    }
}
